package com.develop.data.loan.option;

import com.develop.data.loan.option.constraint.CodedOption;
import com.develop.data.loan.option.constraint.CommentedOption;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

@AllArgsConstructor
public enum LoanUsage implements CodedOption, CommentedOption {
    CONSUMPTION("00", "消费"),
    TOURISM("01", "旅游"),
    DECORATION("02", "装修"),
    EDUCATION("03", "教育"),
    HEALTH("04", "医疗");

    @Getter
    private String code;
    @Getter @Setter
    private String comment;
}
